package com.hry.store.dao;

import com.hry.store.pojo.Distract;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DistractMapper {
    int deleteByPrimaryKey(Integer distractId);

    int insert(Distract record);

    int insertSelective(Distract record);

    Distract selectByPrimaryKey(Integer distractId);

    int updateByPrimaryKeySelective(Distract record);

    int updateByPrimaryKey(Distract record);

    List<Distract> getByCityId(Integer cityId);
}